package com.syt.client.user;

import com.syt.model.user.Patient;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author: xxx
 * @Date: 2023/2/26 21:10
 * @Description:
 */
@Service
@FeignClient("service-user")
@RequestMapping("/api/user/patient")
public interface PatientFeignClient {

    //获取就诊人
    @GetMapping("/inner/get/{id}")
    public Patient getPatientOrder(@PathVariable("id") Long id);
}
